package com.gugee.ins.common.dal.service.statistics.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gugee.ins.common.dal.mapper.statistics.InsStBloggerFlBrandMapper;
import com.gugee.ins.common.dal.service.statistics.InsStBloggerFlBrandDao;
import com.gugee.ins.common.model.mysql.statistics.InsStBloggerFlBrand;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class InsStBloggerFlBrandDaoImpl extends ServiceImpl<InsStBloggerFlBrandMapper,InsStBloggerFlBrand> implements InsStBloggerFlBrandDao {

    @Override
    public void deleteByUid(long uid) {
        baseMapper.deleteByUid(uid);
    }

    @Override
    public List<InsStBloggerFlBrand> findActiveFollowerGroupByUid(long uid, int limit) {
        return baseMapper.findActiveFollowerGroupByUid(uid,limit);
    }


}
